/*
 * Created on May 11, 2006 by gautamg
 *
 * Copyright (c) 2004 aurionPro Solutions Pvt, Ltd.
 * B4, Udyog Sadan III, MIDC Andheri-East, Mumbai-93.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of 
 * aurionPro Solutions Pvt, Ltd. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with aurionPro Solutions Pvt, Ltd.
 */

package com.erp.generic.utils;

import javax.servlet.http.HttpSession;



public class SessionManager {

	private static SessionManager instance  = new SessionManager();
	private SessionManager() {
		super();		
	}
	
	public static SessionManager getInstance()
	{
		return instance;
	}

	
	
	/*public void setValue(HttpSession session, String name, String value)
	{
		session.setAttribute(name,value);
	}	
	
	public String getValue(HttpSession session, String name)
	{
		return (String)session.getAttribute(name);
	}*/
	public void setValue(HttpSession session, String name, Object value)
	{
		session.setAttribute(name,value);
	}	
	
	public Object getValue(HttpSession session, String name)
	{
		return session.getAttribute(name);
	}
	

}
